package com.gax.service;

import com.gax.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gax.utils.Result;

/**
* @author 19115
* @description 针对表【news_user】的数据库操作Service
* @createDate 2025-06-16 19:50:31
*/
public interface UserService extends IService<User> {
    Result login(User user);

    // 根据 token 获取用户数据
    Result getUserInfo(String token);

    Result checkUserName(String username);

    Result regist(User user);
}
